package test;
interface Area {
    double computerArea(double r);
}
class Circle{
    double r;
    void setRadius(double r){
        this.r = r;
    }
    void showArea(Area area) {
        double result=area.computerArea(r);
        System.out.println("result="+result);
    }
}
